<?php

namespace Acme\FileManagerBundle\Services;

use Acme\FileManagerBundle\Entity\Directory;

interface IFileManager
{
    public function setRootDirectory($path);
    public function getRealPath($path);
    public function getRelativePath($path);
    public function readFile($path);
    public function createDirectory(Directory $directory);
    public function deleteFile($path);
    public function listDirectory($path);
}